package com.mvcplus.system.service;

import com.baomidou.framework.service.ISuperService;
import com.mvcplus.system.bo.ResourceBo;
import com.mvcplus.system.model.SysResource;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 * SysResource 表数据服务层接口
 *
 */
public interface ISysResourceService extends ISuperService<SysResource> {

    List<ResourceBo> selectResourceByRole(Long id);

    int saveAuth(Long id,Long[] resIds);

    List<SysResource> selectAllResource();

    Boolean deleteAllById(Long id);
}